package com.cloud.zuul.bean;

import lombok.Data;

@Data
public class ResponseInfo<T> {
    public static final int UNAUTHORIZED = 401;
    public static final int FORBIDDEN = 403;

    private int code;
    private String message;

    public ResponseInfo(int code) {
        this.code = code;
    }

    public ResponseInfo(int code, String message) {
        this.code = code;
        this.message = message;
    }

}